<?php

namespace app\controller;

use plugin\admin\app\model\User;
use support\Request;


class IndexController
{
    protected array $noNeedLogin = ['index'];
    public function index(Request $request)
    {
        return view('index/view', ['name' => 'webman']);
    }


    public function json(Request $request)
    {
        return json(['code' => 0, 'msg' => 'ok']);
    }

}
